package com.ruoyi.common.core.domain.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;

import java.time.LocalDate;
import java.util.Date;
import java.util.List;

/**
 * @Author itmei
 * @Date 2024/4/29 15:03
 * @description: 请假信息返回
 * @Title: LeaveSummaryVO
 * @Package com.ruoyi.common.core.domain.vo
 */
@Data
public class LeaveSummaryVO {

    //请假id
    private Long id;

    //学生id
    private String studentsId;

    //学生姓名
    private String studentsName;

    //学生性别
    private String studentsSex;

    //请假类型名称
    private String typeName;

    //年级名称
    private String gradesName;

    //班级名称
    private String classesName;

    //监护人姓名(家长)
    private String nickName;

    //请假原因
    private String reason;

    //请假类型id
    private Long leaveTypeId;

    //开始时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:ss:mm")
    private Date startTime;

    //结束时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:ss:mm")
    private Date endTime;

    //状态：0=待审批, 1=审批通过, 2=审批拒绝
    @Excel(name = "状态：0=待审批, 1=审批通过, 2=审批拒绝")
    private Long status;

    //创建时间
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createdAt;


    private List<RefundAvailabilityVO> refundAvailabilityVOS;

}
